

jQuery(function ($) {
    var param = {
        "Tdk": {
            "type": 2
        }
    };
    send_ajax('post', '/get', param, function callback(res) {
        if (res.code == 200) {
            var html = "";
            var tdk = res.Tdk;
            $('#search').attr('placeholder', tdk.tdk_placeholder);
            var searchKeyword = tdk.tdk_search_keywords.split(',');
            if(searchKeyword){
                for (var i = 0; i < searchKeyword.length; i++) {
                    html += " <li><a href=\"/goods/goods_search.html?keywords=" + searchKeyword[i] + "\" target='_blank'>" + searchKeyword[i] + "</a></li>";
                };
                $('.list_nav').html(html);
            }
            
        }
    });
});